package com.ming.easyDevelop.mappers;

import com.ming.easyDevelop.mappers.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Mapper;
/**
 * @Description  Mapper接口
 * @Author ming
 * @Date 2024/07/10
 */
@Mapper
public interface OrderDetailsMapper<T,P> extends BaseMapper {
	/**
	 * 根据OrderDetailID查询
	 */
	T selectByOrderDetailID(@Param("orderDetailID") Integer orderDetailID);
	/**
	 * 根据OrderDetailID更新
	 */
	Long updateByOrderDetailID(@Param("bean") T t, @Param("orderDetailID") Integer orderDetailID);
	/**
	 * 根据OrderDetailID删除
	 */
	Long deleteByOrderDetailID(@Param("orderDetailID") Integer orderDetailID);
}